package main

import (
"fmt"
"github.com/google/uuid"
)

/// 验证每次调用uuid时生成的uuid字符串都不一样
/// 执行可能的结果如下
/// uuid1=f3b3784b-dcff-4303-b902-9c5bfb571961
//  uuid2=d9c3fc76-4783-477b-bfec-9c21616bd07c
func main() {
	id := uuid.New().String()
	fmt.Printf("uuid1=%s\n", id)
	id2 := uuid.New().String()
	fmt.Printf("uuid2=%s\n", id2)
}
